package messagesvc.request.template;

import cn.ucloud.microsf.commonlib.request.ListRequest;
import cn.ucloud.microsf.mpcsvc.common.enums.TemplateType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "模板列表响应对象")
@Data
public class TemplateListRequest extends ListRequest {

  /**
   * 模板名称
   */
  @ApiModelProperty(name = "name" , notes = "模板名称", example = "xxx")
  private String name;

  /**
   * 模板类型 1: 站内信 2: 短信 3: 邮件
   */
  @ApiModelProperty(name = "name" , notes = "模板名称", example = "xxx", allowableValues = "1,2,3")
  private TemplateType type;

}
